// https://leetcode.cn/problems/three-divisors/description/

import "math"
func isThree(n int) bool {
    if n < 4 {
		return false
	}
	limit := int(math.Sqrt(float64(n)))
	if n == limit * limit{
		for i := 2; i < limit; i++ {
			if n % i == 0 {
				return false
			}
		}
		return true
	}
	return false
}